﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OpenLeuvenPortaal
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ButtonUserMGT_Click(object sender, EventArgs e)
        {/*
            Button mybutton = new Button();
            mybutton.Text = "User Management";
            mybutton.Click += new EventHandler(mybutton_Click);
            this.PlaceHolder1.Controls.Add(mybutton);
            */
            mijniframeManagementveld.Attributes["src"] = "UserManagement.aspx";
        }

        protected void ButtonAppMGT_Click(object sender, EventArgs e)
        {
           /* Button mybutton = new Button();
            mybutton.Text = " Application management";
            mybutton.Click += new EventHandler(mybutton_Click);
            this.PlaceHolder1.Controls.Add(mybutton);*/
            mijniframeManagementveld.Attributes["src"] = "ApplicationManagement.aspx";
        }
        protected void ButtonCPMGT_Click(object sender, EventArgs e)
        {
            mijniframeManagementveld.Attributes["src"] = "CouponsAndPricesManagement.aspx";
        }

        protected void ButtonZoekUser_Click(object sender, EventArgs e)
        {
            string content = "Deze zoek button toont de opgezochte user.";
            mijniframeZoekveld.Attributes["src"] = "AdminZoekveld.aspx" + "?content=" + content;
        }

        protected void ButtonZoekApp_Click(object sender, EventArgs e)
        {
            string content = "Deze zoek button toont de opgezochte applicatie.";
            mijniframeZoekveld.Attributes["src"] = "AdminZoekveld.aspx" + "?content=" + content;
        }

        protected void Button4_Click(object sender, EventArgs e)
        {
            string content = "Deze zoek button toont de opgezochte prijs.";
            mijniframeZoekveld.Attributes["src"] = "AdminZoekveld.aspx" + "?content=" + content;
        }
       
        

        
    }
}
